#include "net_light_config.h"

void waiting_network()
{
    u8 buf[3];
    bzero(buf,3);
    buf[0] = 0x00;
    buf[1] = 0x00;
    buf[2] = 0Xff;
    //disp_clear_cw_light();
    Side_light_strip(buf);
}

void connectting_network()
{
    u8 buf[3];
    bzero(buf,3);
    buf[0] = 0x00;
    buf[1] = 0xff;
    buf[2] = 0X00;
    //disp_clear_cw_light();
    Side_light_strip(buf);
}

void success_network()
{
    u8 buf[3];
    bzero(buf,3);
    buf[0] = 0xff;
    buf[1] = 0xff;
    buf[2] = 0xff;
    //disp_clear_cw_light();
    Side_light_strip(buf);
}

void fail_network()
{
    u8 buf[3];
    bzero(buf,3);
    buf[0] = 0x00;
    buf[1] = 0x00;
    buf[2] = 0X00;
    //disp_clear_cw_light();
    Side_light_strip(buf);
}

void init_net_light_handle_func()
{
    net_light_config.waiting = waiting_network;
    net_light_config.connectting = connectting_network;
    net_light_config.success = success_network;
    net_light_config.fail = fail_network;
}



